package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.util.List;

/**
 * QuestionNaireAllInfoModel
 *
 * @author 王雪芬
 * @version 2.0.0
 * @since 2.0.0 2018-11-01 08:55:53
 */
@ApiModel(value = "QuestionNaireAllInfoModel:问卷信息实体表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class QuestionNaireAllInfoModel {
    //region 模板逆向生产来自TeEvaluationPaperEntity的属性
    /**
     * id
     */
    @ApiModelProperty(value = "teEvaluationPaper主键")
    @Column(name = "paperId")
    private String paperId;
    /**
     * 问卷名称
     */
    @ApiModelProperty(value = "问卷名称")
    private String name;

    /**
     * 课程属性id（字典：理论课、实践课）
     */
    @ApiModelProperty(value = "课程属性id（字典：理论课、实践课）")
    private String coursePropertyId;

    /**
     * 问卷总分数
     */
    @ApiModelProperty(value = "问卷总分数")
    private Double score;

    /**
     * 状态（草稿状态0，运行状态1 暂停状态2）
     */
    @ApiModelProperty(value = "状态（草稿状态0，运行状态1 暂停状态2）", example = "0")
    private Integer status;

    /**
     * 学年学期id
     */
    @ApiModelProperty(value = "学年学期id")
    private String schoolYearId;

    /**
     * （0教师评教问卷 1课程评教问卷）
     */
    @ApiModelProperty(value = "（0教师评教问卷 1课程评教问卷）", example = "0")
    private Integer type;

    /**
     * 试卷详情
     */
    @ApiModelProperty(value = "试题详情", required = true)
    private List<EvaluationPaperDetailModel> teEvaluationPaperDetailModels;


    @ApiModelProperty(value = "题型详情", required = true)
    private List<EvaluationTypeModel> evaluationTypeModels;


}
